.rs-featured{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:6px 0 38px}
.rs-tool{--tool-color:#0f6470;display:flex;align-items:stretch;gap:12px;position:relative;min-width:0;padding:26px;border:1px solid #c7dfe1;border-radius:22px;background:linear-gradient(135deg,var(--panel) 35%,#eaf5f3);color:var(--ink);text-decoration:none;box-shadow:0 5px 18px #173e4710;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;isolation:isolate}
.rs-tool-sandbox{--tool-color:#5750a4;border-color:#d9d5ec;background:linear-gradient(135deg,var(--panel) 35%,#f0edfa)}
.rs-tool:hover{transform:translateY(-3px);border-color:var(--tool-color);box-shadow:0 12px 28px #173e4718;text-decoration:none}
.rs-tool:focus-visible{outline:3px solid var(--tool-color);outline-offset:4px}
.rs-tool-copy{display:flex;flex-direction:column;position:relative;flex:1;min-width:0;z-index:1}
.rs-tool-kicker{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:750;letter-spacing:.11em;color:var(--tool-color)}
.rs-tool-symbol{display:grid;place-items:center;width:30px;height:30px;background:var(--panel);border:1px solid currentColor;border-radius:9px;font-size:18px;letter-spacing:0}
.rs-tool-title{display:block;margin:14px 0 10px;font-size:clamp(20px,2.1vw,27px);line-height:1.18;letter-spacing:-.035em;color:var(--ink);max-width:22ch}
.rs-tool p{flex:1;margin:0 0 20px;font-size:14px;line-height:1.6;color:var(--muted);max-width:40ch}
.rs-tool-cta{display:inline-flex;align-items:center;gap:18px;font-size:13px;font-weight:700;color:var(--tool-color)}
.rs-tool-cta>span{display:grid;place-items:center;border-radius:50%;width:26px;height:26px;background:var(--panel);font-size:18px}
.rs-tool-art{align-self:center;flex:0 0 105px;width:105px;height:120px;color:var(--tool-color)}
.rs-directory-heading{padding-top:26px;border-top:1px solid var(--line)}
.rs-directory-kicker{margin:0 0 8px;font-size:11px;font-weight:750;letter-spacing:.12em;color:var(--muted)}
.rs-directory-heading h1{margin-top:0}.rs-directory-heading .intro{max-width:78ch}
.rs-related{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px}.rs-related a{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:7px 12px;background:var(--panel);font-size:12px;text-decoration:none}.rs-related a:hover{text-decoration:underline}
@media(max-width:820px){.rs-featured{grid-template-columns:1fr}.rs-tool{padding:22px}.rs-tool-title{max-width:28ch}.rs-tool-art{flex-basis:95px;width:95px}}
@media(max-width:420px){.rs-featured{gap:14px;margin-bottom:28px}.rs-tool{padding:19px;gap:7px}.rs-tool-art{flex-basis:68px;width:68px;height:95px}.rs-tool-title{font-size:21px}.rs-tool p{font-size:13px}.rs-tool-cta{font-size:12px;gap:10px}}
@media(prefers-reduced-motion:reduce){.rs-tool{transition:none}.rs-tool:hover{transform:none}}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:where([data-theme="dark"]) .rs-tool{background:linear-gradient(135deg,var(--panel),#123439);border-color:#315258}:where([data-theme="dark"]) .rs-tool-sandbox{background:linear-gradient(135deg,var(--panel),#2a2543);border-color:#49415e;--tool-color:#b4aaef}:where([data-theme="dark"]) .rs-tool-studio{--tool-color:#8bd4ce}@media (prefers-color-scheme: dark){:where(:not([data-theme])) .rs-tool{background:linear-gradient(135deg,var(--panel),#123439);border-color:#315258}:where(:not([data-theme])) .rs-tool-sandbox{background:linear-gradient(135deg,var(--panel),#2a2543);border-color:#49415e;--tool-color:#b4aaef}:where(:not([data-theme])) .rs-tool-studio{--tool-color:#8bd4ce}}
