/* Resources: guide index + article pages. Reads the global tokens from system.css. */
.wrap.rs-w { max-width: 1100px; }
.rs-hero { padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 44px); background: linear-gradient(180deg, #fff4e6, #fff); }
.rs-hero h1 { margin: 10px 0 0; max-width: 20ch; }
.rs-lead { margin: 16px 0 0; max-width: 62ch; font-size: var(--fs-lead); line-height: 1.7; color: var(--mute); }
.rs-meta { margin: 14px 0 0; font-size: 13px; font-weight: 600; color: #8a97a6; }
.rs-crumb { display: flex; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: #8a97a6; } .rs-crumb a { color: #c25e00; }
.rs-art { padding: clamp(24px, 3vw, 44px) 0 clamp(40px, 4vw, 64px); }
.wrap.rs-prose { max-width: 800px; margin-inline: auto; }
.rs-prose h2 { margin: 40px 0 0; max-width: none; font-size: clamp(22px, .8vw + 17px, 28px) !important; }
.rs-prose p, .rs-prose li { font-size: 16px; line-height: 1.75; color: #34465a; }
.rs-prose p { margin: 14px 0 0; }
.rs-prose ul, .rs-prose ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.rs-prose li b { color: var(--ink); } .rs-prose a { color: #c25e00; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rs-note { font-size: 13px !important; color: #8a97a6 !important; }
.rs-eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; background: #fff6ea; font-weight: 800; color: #0b2036; }
.rs-eq i { font-style: normal; color: #c25e00; } .rs-eq b { padding: 2px 12px; border-radius: 999px; background: #f7861e; color: #fff; }
.rs-t { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.rs-t td { padding: 11px 4px; border-bottom: 1px solid #e6eaef; color: #34465a; } .rs-t td:last-child { text-align: right; font-variant-numeric: tabular-nums; } .rs-t b { color: #0b2036; }
.rs-more { padding: 0 0 clamp(48px, 5vw, 80px); } .rs-more h2 { margin-bottom: 20px; }
.rs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .rs-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rs-card { display: grid; align-content: start; gap: 6px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #e6eaef, 0 18px 30px -24px rgba(16,33,47,.35); color: var(--ink); text-decoration: none; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.rs-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #f7c58c, 0 26px 40px -26px rgba(247,134,30,.5); }
.rs-card small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c25e00; }
.rs-card b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.rs-card.big { padding: 24px; } .rs-card.big h3 { margin: 4px 0 0; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; } .rs-card.big p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--mute); } .rs-card.big span { margin-top: 10px; font-size: 14px; font-weight: 700; color: #c25e00; }
@media (max-width: 900px) { .rs-grid.three { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .rs-grid { grid-template-columns: 1fr; } .rs-prose p, .rs-prose li { font-size: 15.5px; } }
.rs-hero { padding-top: calc(88px + clamp(28px, 4vw, 56px)); }
.rs-hero:has(.rs-crumb) .wrap { max-width: 800px; }
.rs-more:has(.rs-grid:not(.three)) .wrap { max-width: 800px; }
.rs-hero h1 { max-width: 22ch; }
@media (max-width: 760px) { .rs-hero { padding-top: calc(72px + 24px); } }
