/* ==========================================================================
   LA CCTV Supply — company & resource pages
   about-us · faq · education · security-guides · blog · blog-<slug>
   Tokens only (tokens.css) + base.css classes. Prefix: rs-
   ========================================================================== */

/* ---------- reveal on scroll (same contract as the landing page) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } }

.rs { position: relative; overflow-x: clip; }
.rs-sec { position: relative; scroll-margin-top: calc(var(--nav-h, 64px) + 12px); }
.rs-sec + .rs-sec::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--maxw), 100% - 2 * var(--gutter)); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line), transparent); }
.rs-sec--tint { background: radial-gradient(900px 460px at 85% 8%, var(--cyan-soft), transparent 70%); }
.rs-sec--tint-a { background: radial-gradient(900px 460px at 12% 10%, var(--amber-soft), transparent 70%); }
.rs-note { margin-top: 1rem; max-width: 92ch; font-size: .8125rem; line-height: 1.6; color: var(--ink-3); }
.rs-note strong { color: var(--ink-2); }
.rs-note a { color: var(--cyan); }
/* vertical rhythm that used to live in inline styles */
.rs-card .rs-steps, .rs-topic__body .rs-steps { margin-top: .9rem; }
.rs-sec .rs-scope, .rs-sec .rs-grid + .rs-grid { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.rs-article__body .rs-scope { margin-top: 2.5rem; }
.rs-cl__body > .rs-note:first-child { margin: 0 0 1.2rem; }
.rs-side p + p { margin-top: .8rem; }
.rs-side a[aria-current="true"] { color: var(--cyan); font-weight: 600; }
.page-post .rs-hero h1 { max-width: 26ch; }

/* ==========================================================================
   Page hero
   ========================================================================== */
.rs-hero { position: relative; padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.25rem); border-bottom: 1px solid var(--line); background: radial-gradient(1000px 460px at 78% -20%, var(--cyan-soft), transparent 70%), radial-gradient(700px 420px at -5% 10%, var(--violet-soft), transparent 72%); }
.rs-hero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
.rs-hero__inner--solo { grid-template-columns: minmax(0, 1fr); }
.rs-hero h1 { margin-top: .7rem; max-width: 20ch; }
.rs-hero .lede { margin-top: 1rem; }
.rs-hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.rs-hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1.2rem; font: 500 .72rem/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rs-hero__meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .5em; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); vertical-align: 1px; }
.rs-hero__aside { padding: clamp(1.1rem, 2.6vw, 1.6rem); border: 1px solid var(--glass-border); border-radius: var(--r-lg); background: var(--glass); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.rs-hero__aside h2 { margin-bottom: .75rem; font: 500 .72rem var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.rs-hero__aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.rs-hero__aside li { position: relative; padding-left: 1.4rem; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.rs-hero__aside li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border: 1.5px solid var(--cyan); transform: rotate(45deg); }
.rs-hero__aside li b { color: var(--ink); }
.rs-hero__aside li a:not(.btn) { color: var(--cyan); }
.rs-hero__aside-n { margin-left: .35em; font-size: .75rem; color: var(--ink-3); }
.rs-hero__aside-k { display: block; margin-top: .1rem; font: 500 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* section-number chip inside an eyebrow */
.eyebrow .rs-card__n { margin: 0 .5em 0 0; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--ink); }

/* ---------- trust strip ---------- */
.rs-trust { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .75rem; margin-top: 1.5rem; }
.rs-bbb { display: inline-flex; align-items: stretch; border: 1px solid var(--glass-border); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; text-decoration: none; color: inherit; }
.rs-bbb:hover { color: inherit; border-color: var(--cyan); }
.rs-bbb__mark { display: grid; place-items: center; padding: .3rem .5rem; background: var(--ink); color: var(--bg); font: 700 .8rem/1 var(--font-display); letter-spacing: .06em; }
.rs-bbb__txt { display: grid; align-content: center; padding: .28rem .6rem; }
.rs-bbb__txt b { font: 600 .7rem/1.25 var(--font-body); color: var(--ink); letter-spacing: .01em; }
.rs-bbb__txt span { font: 500 .6rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }

/* ==========================================================================
   Generic grids and cards
   ========================================================================== */
.rs-grid { display: grid; gap: 1rem; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.rs-grid--2 { --cols: 2; }
.rs-grid--4 { --cols: 4; }
.rs-card h3 { margin-bottom: .45rem; font: 600 1.22rem/1.2 var(--font-display); }
.rs-card p { color: var(--ink-2); font-size: .9375rem; }
.rs-card p + p { margin-top: .6rem; }
.rs-card__n { display: inline-grid; place-items: center; min-width: 2.2em; height: 1.7em; margin-bottom: .8rem; padding: 0 .4em; border: 1px solid var(--cyan); border-radius: 5px; color: var(--cyan); font: 500 .72rem var(--font-mono); letter-spacing: .08em; }
.rs-card__ev { margin-top: 1rem; padding-top: .85rem; border-top: 1px dashed var(--line); font-size: .8125rem; line-height: 1.55; color: var(--ink-3); }
.rs-card__ev b { display: block; margin-bottom: .2rem; font: 500 .64rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- do / don't ---------- */
.rs-do { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rs-do__col { padding: clamp(1.1rem, 2.4vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.rs-do__col--yes { border-color: rgba(61, 220, 151, .35); background: linear-gradient(160deg, var(--green-soft), var(--surface) 60%); }
.rs-do__col--no { border-color: rgba(255, 181, 71, .32); background: linear-gradient(160deg, var(--amber-soft), var(--surface) 60%); }
.rs-do__h { display: inline-flex; align-items: center; gap: .5em; margin-bottom: .9rem; font: 500 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.rs-do__col--yes .rs-do__h { color: var(--green); }
.rs-do__col--no .rs-do__h { color: var(--amber); }
.rs-do ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.rs-do li { position: relative; padding-left: 1.5rem; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.rs-do li b { color: var(--ink); }
.rs-do__col--yes li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.rs-do__col--no li::before { content: ""; position: absolute; left: .15rem; top: .58em; width: 10px; height: 2px; background: var(--amber); }

/* ---------- timeline (about) ---------- */
.rs-tlwrap { position: relative; }
.rs-tlwrap::after { content: ""; position: absolute; inset: 2.1rem 0 .4rem auto; width: 56px; background: linear-gradient(90deg, transparent, var(--bg)); pointer-events: none; }
.rs-tlwrap__hint { margin-top: .4rem; font: 500 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rs-tl { list-style: none; margin: 0; padding: 2.1rem .1rem .4rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(215px, 1fr); gap: .9rem; overflow-x: auto; scroll-snap-type: x proximity; position: relative; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.rs-tl::before { content: ""; position: absolute; left: 0; right: 0; top: 1rem; height: 1px; min-width: 100%; background: linear-gradient(90deg, var(--violet), var(--cyan) 45%, var(--green)); opacity: .6; }
.rs-tl li { position: relative; scroll-snap-align: start; padding: .95rem 1rem 1.05rem; border: 1px solid var(--line-2); border-top: 2px solid var(--k, var(--cyan)); border-radius: 0 0 var(--r) var(--r); background: var(--surface); }
.rs-tl li::before { content: ""; position: absolute; top: calc(-1rem - 6px); left: 1rem; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--k, var(--cyan)); box-shadow: 0 0 12px var(--k, var(--cyan)); }
.rs-tl time { font: 500 .72rem var(--font-mono); letter-spacing: .08em; color: var(--k, var(--cyan)); }
.rs-tl h3 { margin: .3rem 0 .3rem; font: 600 1.1rem/1.18 var(--font-display); }
.rs-tl p { font-size: .84rem; line-height: 1.55; color: var(--ink-2); }
.rs-tl .k-v { --k: var(--violet); } .rs-tl .k-c { --k: var(--cyan); } .rs-tl .k-a { --k: var(--amber); } .rs-tl .k-g { --k: var(--green); }

/* ==========================================================================
   Accordions (details/summary) — FAQ groups, education topics, guides
   ========================================================================== */
.rs-accgroup + .rs-accgroup { margin-top: clamp(2rem, 4vw, 3rem); }
.rs-accgroup__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.rs-accgroup__head h2 { font: 600 clamp(1.3rem, 1.1rem + .8vw, 1.7rem)/1.15 var(--font-display); }
.rs-accgroup__count { font: 500 .68rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rs-acclist { display: grid; gap: .55rem; }
.rs-acc { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); transition: border-color var(--t-fast) var(--ease); }
.rs-acc[open] { border-color: var(--glass-border); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.rs-acc > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .95rem 1.1rem; cursor: pointer; list-style: none; font: 600 1.06rem/1.35 var(--font-display); color: var(--ink); }
.rs-acc > summary::-webkit-details-marker { display: none; }
.rs-acc > summary::marker { content: ""; }
.rs-acc > summary:hover { color: var(--cyan); }
.rs-acc > summary .icon { flex: none; margin-top: .2em; color: var(--ink-3); transition: transform var(--t) var(--ease); }
.rs-acc[open] > summary .icon { transform: rotate(180deg); color: var(--cyan); }
.rs-acc > summary:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; border-radius: var(--r); }
.rs-acc__body { padding: 0 1.1rem 1.15rem; }
.rs-acc__body > * + * { margin-top: .85em; }
.rs-acc__body p, .rs-acc__body li { color: var(--ink-2); font-size: .9375rem; line-height: 1.68; max-width: 78ch; }
.rs-acc__body ul, .rs-acc__body ol { padding-left: 1.3em; }
.rs-acc__body li + li { margin-top: .35em; }
.rs-acc__body ul > li::marker { color: var(--cyan); }
.rs-acc__body ol > li::marker { color: var(--ink-3); font-family: var(--font-mono); font-size: .85em; }
.rs-acc__body strong { color: var(--ink); }

.rs-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: 1.1rem; }
.rs-tools--bar { justify-content: flex-start; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.rs-accgroup__head .rs-tools { margin-bottom: 0; padding-bottom: 0; border: 0; }

/* ---------- education topic card ---------- */
.rs-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rs-topic { border: 1px solid var(--glass-border); border-radius: var(--r-lg); background: var(--glass); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; transition: border-color var(--t-fast) var(--ease); }
.rs-topic[open] { border-color: rgba(63, 208, 255, .38); }
.rs-topics { align-items: start; }
.rs-topic > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: start; gap: .35rem 1rem; padding: clamp(1rem, 2.2vw, 1.4rem); cursor: pointer; list-style: none; }
.rs-topic > summary::-webkit-details-marker { display: none; }
.rs-topic > summary::marker { content: ""; }
.rs-topic > summary:focus-visible { outline: 2px solid var(--amber); outline-offset: -3px; border-radius: var(--r-lg); }
.rs-topic__n { grid-area: 1 / 1 / 3 / 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--cyan-soft); color: var(--cyan); font: 500 .78rem var(--font-mono); }
.rs-topic__t { grid-area: 1 / 2 / 2 / 3; font: 600 1.2rem/1.22 var(--font-display); color: var(--ink); }
.rs-topic__d { grid-area: 2 / 2 / 3 / 3; font-size: .875rem; line-height: 1.55; color: var(--ink-3); }
.rs-topic__go { grid-area: 1 / 3 / 3 / 4; align-self: center; color: var(--ink-3); transition: transform var(--t) var(--ease); }
.rs-topic[open] .rs-topic__go { transform: rotate(180deg); color: var(--cyan); }
.rs-topic__body { padding: 0 clamp(1rem, 2.2vw, 1.4rem) clamp(1.1rem, 2.2vw, 1.5rem); border-top: 1px solid var(--line-2); }
.rs-topic__body > * + * { margin-top: 1em; }
.rs-topic__body > :first-child { margin-top: 1.1em; }
.rs-topic__body p, .rs-topic__body li { color: var(--ink-2); font-size: .9375rem; line-height: 1.7; max-width: 72ch; }
.rs-topic__body ul, .rs-topic__body ol { padding-left: 1.3em; }
.rs-topic__body li + li { margin-top: .4em; }
.rs-topic__body ul > li::marker { color: var(--cyan); }
.rs-topic__body ol > li::marker { color: var(--ink-3); font-family: var(--font-mono); font-size: .85em; }
.rs-topic__body h4 { margin-top: 1.4em; font: 500 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.rs-topic__body strong { color: var(--ink); }

/* where this shows up */
.rs-where { margin-top: 1.2rem; padding: .9rem 1.05rem; border: 1px solid var(--line-2); border-left: 3px solid var(--green); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: linear-gradient(90deg, var(--green-soft), transparent 70%), var(--surface); }
.rs-where b { display: block; margin-bottom: .3rem; font: 500 .66rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.rs-where p { font-size: .875rem !important; line-height: 1.6; color: var(--ink-2); }
.rs-where a { color: var(--cyan); }

/* ---------- numbered "how it works" ---------- */
.rs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; counter-reset: rs-step; }
.rs-steps li { counter-increment: rs-step; position: relative; padding: .8rem 1rem .85rem 2.9rem; background: var(--surface); font-size: .9rem !important; line-height: 1.6; color: var(--ink-2); max-width: none !important; }
.rs-steps li::before { content: counter(rs-step, decimal-leading-zero); position: absolute; left: .9rem; top: .95rem; font: 500 .68rem var(--font-mono); color: var(--cyan); }
.rs-steps li + li { margin-top: 0 !important; }
.rs-steps b { color: var(--ink); }

/* ---------- inline diagram figures ---------- */
.rs-fig { margin: 0; }
.rs-fig__scroll { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); scrollbar-width: thin; scrollbar-color: var(--ink-4) transparent; }
.rs-fig svg { display: block; width: 100%; height: auto; min-width: 440px; }
.rs-fig figcaption { margin-top: .6rem; font-size: .8125rem; line-height: 1.55; color: var(--ink-3); }
.rs-fig .f-t { font: 500 11px var(--font-body); fill: var(--ink); }
.rs-fig .f-s { font: 400 10px var(--font-body); fill: var(--ink-3); }
.rs-fig .f-m { font: 500 10px var(--font-mono); letter-spacing: .1em; fill: var(--ink-3); }
.rs-fig .f-vi { fill: var(--violet); }
.rs-fig .f-cy { fill: var(--cyan); } .rs-fig .f-am { fill: var(--amber); } .rs-fig .f-gr { fill: var(--green); } .rs-fig .f-rd { fill: var(--red); }

/* ---------- formula / math block ---------- */
.rs-calc { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); font-family: var(--font-mono); font-size: .8125rem; line-height: 1.85; color: var(--ink-2); overflow-x: auto; }
.rs-calc b { color: var(--cyan); font-weight: 500; }
.rs-calc span { color: var(--ink-3); }

/* ==========================================================================
   Decision tree (guides)
   ========================================================================== */
.rs-tree { border: 1px solid var(--glass-border); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--surface-2), var(--surface)); box-shadow: var(--shadow); overflow: hidden; }
.rs-tree__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.rs-tree__crumbs { display: flex; flex-wrap: wrap; gap: .3rem .45rem; min-width: 0; font: 500 .66rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rs-tree__crumbs span { display: inline-flex; align-items: center; gap: .45rem; }
.rs-tree__crumbs span + span::before { content: "/"; color: var(--ink-3); }
.rs-tree__body { padding: clamp(1.1rem, 3vw, 1.9rem); }
.rs-tree__q { margin-bottom: 1.1rem; font: 600 clamp(1.15rem, 1rem + .7vw, 1.5rem)/1.25 var(--font-display); color: var(--ink); }
.rs-tree__opts { display: grid; gap: .6rem; }
.rs-tree__opt { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .8rem; width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.rs-tree__opt:hover { border-color: var(--cyan); background: var(--cyan-soft); }
.rs-tree__opt:active { transform: translateY(1px); }
.rs-tree__opt:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.rs-tree__opt i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); font: 500 .7rem/1 var(--font-mono); font-style: normal; }
.rs-tree__opt-txt { display: block; min-width: 0; }
.rs-tree__opt b { display: block; font: 600 1rem/1.3 var(--font-display); }
.rs-tree__opt span { display: block; margin-top: .2rem; font-size: .8375rem; line-height: 1.5; color: var(--ink-3); }
.rs-tree__result { display: grid; gap: .8rem; }
.rs-tree__result h4 { font: 600 1.3rem/1.2 var(--font-display); color: var(--cyan); }
.rs-tree__result p { color: var(--ink-2); font-size: .9375rem; line-height: 1.68; max-width: 72ch; }
.rs-tree__result ul { margin: 0; padding-left: 1.25em; display: grid; gap: .35rem; }
.rs-tree__result li { color: var(--ink-2); font-size: .9rem; line-height: 1.6; }
.rs-tree__result li::marker { color: var(--cyan); }
.rs-tree__foot { display: flex; flex-wrap: wrap; gap: .6rem; padding: .8rem 1.1rem; border-top: 1px solid var(--line-2); background: var(--bg-2); }
.rs-tree__static { margin-top: 1rem; }
.rs-tree__static ul { padding-left: 1.2em; }
.rs-tree__static li { color: var(--ink-2); font-size: .9rem; line-height: 1.6; }
.rs-tree__static li + li { margin-top: .35rem; }
.rs-tree__static b { color: var(--ink); }

/* ==========================================================================
   Printable checklist
   ========================================================================== */
.rs-cl { border: 1px solid var(--glass-border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.rs-cl__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.rs-cl__title { font: 600 1.15rem/1.2 var(--font-display); color: var(--ink); }
.rs-cl__prog { font: 500 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.rs-cl__acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.rs-cl__body { padding: clamp(1rem, 2.4vw, 1.5rem); }
.rs-cl__grp + .rs-cl__grp { margin-top: 1.4rem; }
.rs-cl__h { margin-bottom: .6rem; padding-bottom: .4rem; border-bottom: 1px dashed var(--line); font: 500 .68rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.rs-cl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.rs-cl__list li { border-bottom: 1px solid var(--line-2); }
.rs-cl__list li:last-child { border-bottom: 0; }
.rs-cl__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; padding: .6rem .2rem; cursor: pointer; }
.rs-cl__item input {
  flex: none; position: relative; width: 20px; height: 20px; margin: .15rem 0 0; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  border: 1.5px solid var(--line); border-radius: 5px; background: var(--surface-2);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.rs-cl__item:hover input { border-color: var(--cyan); }
.rs-cl__item input:checked { background: var(--cyan); border-color: var(--cyan); }
.rs-cl__item input:checked::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 6px; height: 11px;
  border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(43deg);
}
.rs-cl__item input:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.rs-cl__item b { display: block; font-size: .9375rem; line-height: 1.5; font-weight: 600; color: var(--ink); }
.rs-cl__item span { display: block; margin-top: .18rem; font-size: .84rem; line-height: 1.55; color: var(--ink-3); }
.rs-cl__item input:checked ~ div b { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-4); }
.rs-cl__sign { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.rs-cl__sign p { font: 500 .66rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.rs-cl__sign p::after { content: ""; display: block; margin-top: 1.8rem; border-bottom: 1px solid var(--line); }

/* ==========================================================================
   Guide cards / link blocks
   ========================================================================== */
.rs-guide { display: grid; gap: .6rem; }
.rs-guide__meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font: 500 .66rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rs-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .7rem; }
.rs-links a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: center; height: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: inherit; text-decoration: none; transition: border-color var(--t-fast) var(--ease), transform var(--t) var(--ease); }
.rs-links a:hover { border-color: var(--cyan); transform: translateY(-2px); color: inherit; }
.rs-links .icon { color: var(--cyan); }
.rs-links b { display: block; font: 600 1rem/1.25 var(--font-display); color: var(--ink); }
.rs-links span { display: block; margin-top: .15rem; font-size: .8125rem; line-height: 1.45; color: var(--ink-3); }

/* ---------- comparison tables ---------- */
.rs .tablewrap thead th { color: var(--ink-2); font-family: var(--font-display); font-size: 1rem; letter-spacing: .01em; text-transform: none; }
.rs .tablewrap thead th.u-cyan { color: var(--cyan); }
.rs .tablewrap thead th.u-amber { color: var(--amber); }
.rs .tablewrap tbody th { width: 160px; font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.rs .tablewrap td { color: var(--ink-2); font-size: .9rem; }
.rs .tablewrap table { min-width: 860px; }

/* ==========================================================================
   Blog index + article
   ========================================================================== */
.rs-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.rs-post-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1.5rem; align-items: start; padding: clamp(1.1rem, 2.4vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: inherit; text-decoration: none; transition: border-color var(--t-fast) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.rs-post-card:hover { color: inherit; border-color: var(--glass-border); transform: translateY(-2px); box-shadow: var(--shadow), var(--glow-cyan); }
.rs-post-card__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .35rem .9rem; font: 500 .66rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rs-post-card h3 { font: 600 clamp(1.25rem, 1.1rem + .7vw, 1.6rem)/1.18 var(--font-display); color: var(--ink); max-width: 46ch; }
.rs-post-card p { grid-column: 1 / -1; max-width: 80ch; font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }
.rs-post-card__go { align-self: center; color: var(--ink-3); transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.rs-post-card:hover .rs-post-card__go { color: var(--cyan); transform: translateX(3px); }
.rs-post-card__tag { grid-column: 1 / -1; }

.rs-article { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.rs-article__body { min-width: 0; }
.rs-article__body h2 { margin-top: 2.2rem; font: 600 clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem)/1.15 var(--font-display); scroll-margin-top: calc(var(--nav-h, 64px) + 16px); }
.rs-article__body h3 { margin-top: 1.7rem; font: 600 1.2rem/1.25 var(--font-display); color: var(--ink); }
.rs-article__body p, .rs-article__body li { color: var(--ink-2); font-size: 1.0125rem; line-height: 1.75; max-width: 72ch; }
.rs-article__body > * + * { margin-top: 1.1em; }
.rs-article__body ul, .rs-article__body ol { padding-left: 1.3em; }
.rs-article__body li + li { margin-top: .45em; }
.rs-article__body ul > li::marker { color: var(--cyan); }
.rs-article__body ol > li::marker { color: var(--ink-3); font-family: var(--font-mono); font-size: .85em; }
.rs-article__body strong { color: var(--ink); }
.rs-article__body a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(63, 208, 255, .35); text-underline-offset: .2em; }
.rs-article__body a:hover { color: var(--ink); }
.rs-article__lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.18rem) !important; line-height: 1.6 !important; color: var(--ink) !important; }

.rs-article__side { position: sticky; top: calc(var(--nav-h, 64px) + 1.5rem); display: grid; gap: 1rem; }
.rs-side { padding: 1.1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.rs-side h2 { margin-bottom: .7rem; font: 500 .68rem var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.rs-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.rs-side a:not(.btn) { font-size: .875rem; line-height: 1.45; color: var(--ink-2); text-decoration: none; }
.rs-side a:not(.btn):hover { color: var(--cyan); }
.rs-side p { font-size: .84rem; line-height: 1.6; color: var(--ink-3); }

.rs-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); font: 500 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.rs-byline b { color: var(--cyan); font-weight: 500; }

/* ==========================================================================
   Scope note + CTA band
   ========================================================================== */
.rs-scope { padding: clamp(1.1rem, 2.6vw, 1.7rem); border: 1px solid rgba(255, 181, 71, .3); border-radius: var(--r-lg); background: repeating-linear-gradient(135deg, rgba(255, 181, 71, .03) 0 14px, transparent 14px 28px), linear-gradient(160deg, var(--surface-2), var(--surface)); }
.rs-scope .hazard { width: 96px; margin-bottom: .9rem; }
.rs-scope p { color: var(--ink-2); font-size: .9375rem; line-height: 1.7; max-width: 88ch; }
.rs-scope p + p { margin-top: .7rem; }
.rs-scope strong { color: var(--ink); }

.rs-cta { padding-block: clamp(3rem, 8vw, 5.5rem); text-align: center; background: radial-gradient(800px 380px at 50% 100%, var(--cyan-soft), transparent 70%); }
.rs-cta__inner { display: grid; justify-items: center; gap: 1rem; }
.rs-cta .hazard { width: 110px; }
.rs-cta h2 { max-width: 22ch; }
.rs-cta .lede { margin-inline: auto; }
.rs-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .5rem; }
.rs-cta__fine { font: 500 .7rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .rs-grid { --cols: 2; }
  .rs-article { grid-template-columns: minmax(0, 1fr); }
  .rs-article__side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rs-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .rs-topics { grid-template-columns: minmax(0, 1fr); }
  .rs-do { grid-template-columns: minmax(0, 1fr); }
  .rs-post-card h3 { max-width: none; }
}
@media (max-width: 620px) {
  .rs-grid { --cols: 1; }
  .rs-article__side { grid-template-columns: minmax(0, 1fr); }
  .rs-cl__sign { grid-template-columns: minmax(0, 1fr); }
  .rs-cl__bar, .rs-tree__bar { align-items: flex-start; }
  .rs-topic > summary { gap: .4rem .8rem; }
  .rs-topic__n { width: 36px; height: 36px; font-size: .7rem; }
  .rs-post-card { grid-template-columns: minmax(0, 1fr); }
  .rs-post-card__go { display: none; }
}

/* ==========================================================================
   Print — the checklists and guides must print well
   ========================================================================== */
@media print {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .rs-hero { background: none; border-bottom: 1px solid #999; padding-block: 0 1rem; }
  .rs-hero__aside, .rs-hero__cta, .rs-trust, .rs-cta, .rs-tools, .rs-cl__acts, .rs-tree__foot, .rs-article__side { display: none !important; }
  .rs-sec { padding-block: .75rem !important; }
  .rs-sec + .rs-sec::before { display: none; }
  .rs-sec--tint, .rs-sec--tint-a { background: none; }
  .rs-cl, .rs-tree, .rs-topic, .rs-acc, .rs-card, .rs-scope { background: none !important; box-shadow: none !important; border-color: #999 !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .rs-cl__bar, .rs-tree__bar { background: none; border-bottom: 1px solid #999; }
  .rs-cl__grp, .rs-cl__list li, .rs-topic, .rs-acc, .rs-card, .rs-steps li { break-inside: avoid; }
  .rs-cl__item input { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border: 1px solid #000; border-radius: 2px; }
  .rs-cl__item input:checked { background: #000; }
  .rs-cl__item input:checked ~ div b { color: #000; text-decoration: none; }
  .rs-cl__sign p::after { border-bottom: 1px solid #000; }
  /* accordions print open */
  .rs-acc__body, .rs-topic__body { display: block !important; }
  .rs-acc > summary .icon, .rs-topic__go { display: none !important; }
  .rs-fig__scroll { overflow: visible; border-color: #999; background: none; }
  .rs-fig svg { min-width: 0; }
  .rs-calc { background: none; border-color: #999; }
  .rs-tl { grid-auto-flow: row; overflow: visible; }
  .rs-tlwrap::after, .rs-tlwrap__hint { display: none; }
  .rs-tl::before { display: none; }
  .rs-tl li::before { box-shadow: none; }
}

/* --- Legal pages (privacy) + 404 ------------------------------------------- */
.rs-legal-addr { font-style: normal; padding: 1rem 1.15rem; border-left: 2px solid var(--cyan); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; color: var(--ink-2); line-height: 1.8; }
.rs-legal-addr b { color: var(--ink); }
.rs-cards { list-style: none; padding: 0; margin-top: clamp(1.25rem, 3vw, 1.75rem); }
.rs-cards h3 a { color: var(--ink); text-decoration: none; }
.rs-cards h3 a:hover { color: var(--cyan); }
.rs-note--lead { margin-top: 1.5rem; }
.page-404 .rs-hero__meta a { color: var(--cyan); }
