.resources { padding-top: 14px; }
.resources-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.resources .tool-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #34343a; border-radius: 16px; background: #1b1b20; color: var(--fg); text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.tool-art { position: relative; display: grid; place-items: center; height: 134px; color: var(--tool-color); background: radial-gradient(ellipse at 45% 100%, color-mix(in srgb, var(--tool-color) 17%, transparent), transparent 75%), linear-gradient(90deg, #ffffff04 1px, transparent 1px), linear-gradient(#ffffff04 1px, transparent 1px), #15151a; background-size: auto, 22px 22px, 22px 22px, auto; border-bottom: 1px solid #ffffff08; }
.tool-illustration { width: 200px; max-width: 80%; height: 112px; }
.tool-arrow { position: absolute; top: 13px; right: 16px; color: #bbc0cb; font-family: Arial, sans-serif; font-size: 1.2rem; }
.tool-copy { padding: 19px 21px 23px; }
.tool-category { color: var(--tool-color); font-size: .72rem; font-weight: 650; letter-spacing: .06em; }
.tool-copy h3 { margin: 7px 0 9px; color: #f5f5f7; font-size: 1.18rem; line-height: 1.3; }
.resources .tool-copy p { margin: 0; color: #b6b6c1; font-size: .91rem; line-height: 1.6; }
.resources .tool-card:hover { border-color: var(--tool-color); background: #222228; transform: translateY(-2px); }
.tool-card:hover .tool-arrow { color: var(--tool-color); }
.resources a:focus-visible, .resources summary:focus-visible { outline: 3px solid #bbd8ff; outline-offset: 4px; }
.resources-repos { margin-top: 34px; }
.resources-repos h2 { margin: 0 0 16px; font-size: 1.5rem; }
.repository-list { display: grid; gap: 12px; }
.repository-capsule { display: flex; align-items: flex-start; gap: 8px; padding: 12px 16px; border: 1px solid #ffffff1f; border-radius: 14px; background: #ffffff06; box-shadow: 0 8px 28px #00000015; }
.repository-capsule details { flex: 1; min-width: 0; }
.repository-capsule summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; font-weight: 750; cursor: pointer; list-style: none; }
.repository-capsule summary::-webkit-details-marker { display: none; }
.repository-chevron { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border: 1px solid #ffffff1f; border-radius: 50%; background: #ffffff06; }
.repository-capsule details[open] .repository-chevron svg { transform: rotate(180deg); }
.repository-capsule summary:hover .repository-chevron { background: #ffffff12; }
.resources .repository-capsule p { margin: 12px 0 6px; max-width: 780px; color: #b6b6c1; font-size: .92rem; line-height: 1.65; }
.resources .repository-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 7px 13px; border: 1px solid #ffffff1f; border-radius: 999px; color: var(--fg); text-decoration: none; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.resources .repository-link:hover { background: #ffffff0d; border-color: #ffffff40; }
.resources-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 900px) { .resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .resources-grid { grid-template-columns: 1fr; gap: 14px; }
  .tool-art { height: 118px; }
  .repository-capsule { flex-wrap: wrap; padding: 12px; }
  .repository-capsule details { flex-basis: 100%; }
  .repository-capsule summary { font-size: .94rem; }
  .resources .repository-link { margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) { .resources .tool-card { transition: none; } .resources .tool-card:hover { transform: none; } }
.repository-name { display: flex; align-items: center; flex: 1; min-height: 38px; font-weight: 750; }
