html { scroll-behavior: smooth; scroll-padding-top: 152px; }
body { margin: 0; background: white; }
.rich-header { height: 72px; position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 97%); border-bottom: 1px solid #ebebeb; }
.rich-header__inner { height: 100%; display: flex; align-items: center; gap: 48px; }
.rich-brand { display: flex; align-items: center; gap: 24px; text-decoration: none; }
.rich-brand img { width: 91px; height: auto; }
.rich-brand span { font-size: 13px; color: #666; white-space: nowrap; }
.rich-header nav { display: flex; gap: 32px; margin-left: auto; }
.rich-header nav a { font-size: 14px; text-decoration: none; padding-block: 12px; color: #555; }
.rich-header nav a[aria-current="page"] { color: black; border-bottom: 1px solid black; }
.rich-subnav { position: sticky; top: 72px; height: 56px; z-index: 19; background: rgb(255 255 255 / 94%); border-bottom: 1px solid #ebebeb; }
.rich-subnav__inner { display: flex; align-items: center; height: 100%; gap: 32px; }
.rich-subnav a { font-size: 13px; text-decoration: none; }
.rich-subnav__inner > span { font-size: 12px; margin-left: auto; color: #666; }
.rich-skip { position: fixed; top: -100px; left: 20px; padding: 12px 20px; z-index: 40; background: white; }
.rich-skip:focus { top: 12px; }
.rich-soft { background: #fafafa; }
.rich-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 32px; font-size: 13px; color: #666; border-top: 1px solid #ebebeb; }
.rich-details { margin-top: 40px; font-size: 14px; color: #666; }
.rich-details summary { cursor: pointer; color: black; }
.rich-details p { line-height: 1.65; max-width: 800px; }
.library-hero { padding-block: 80px 40px; }
.library-hero h1 { font-size: clamp(40px, 4vw, 72px); letter-spacing: -.04em; font-weight: 500; line-height: 1.05; margin: 16px 0 24px; }
.library-hero > p { max-width: 670px; color: #666; line-height: 1.6; }
.library-meta { display: flex; gap: 40px; padding-block: 32px; font-size: 14px; }
.library-meta strong { font-size: 28px; display: block; margin-bottom: 6px; font-weight: 500; }
.library-filters { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 16px; padding-block: 24px; border-block: 1px solid #ebebeb; }
.library-count { font-size: 14px; color: #666; margin: 24px 0; }
.library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0 0 64px; list-style: none; margin: 0; }
.library-card { border: 1px solid #ebebeb; border-radius: 16px; overflow: hidden; min-width: 0; }
.library-card__preview { display: block; background: #f4f5f7; position: relative; }
.library-card__preview img { display: block; width: 100%; height: 230px; object-fit: contain; }
.library-card__video { position: absolute; bottom: 16px; left: 16px; background: #111; color: white; border-radius: 999px; padding: 6px 12px; font-size: 12px; }
.library-card__body { padding: 24px; }
.library-card h2 { margin: 8px 0 16px; font-size: 20px; font-weight: 500; overflow-wrap: anywhere; }
.library-card__product { font-size: 12px; color: #666; }
.library-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 12px; margin: 0 0 20px; }
.library-card dt { color: #666; }
.library-card dd { margin: 0; text-align: right; }
.library-card__links { display: flex; gap: 18px; font-size: 12px; }
.library-empty { padding: 64px 24px; text-align: center; background: #f6f6f6; border-radius: 16px; margin-bottom: 64px; }
@media (max-width: 1100px) { .library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rich-header__inner { gap: 24px; } .rich-header nav { gap: 20px; } }
@media (max-width: 700px) {
  .rich-header { height: 64px; }
  .rich-header__inner { gap: 16px; }
  .rich-brand { gap: 0; }
  .rich-brand img { width: 72px; }
  .rich-brand span { display: none; }
  .rich-header nav { gap: 16px; }
  .rich-header nav a { font-size: 12px; }
  .rich-subnav { top: 64px; }
  .rich-subnav__inner { gap: 24px; }
  .rich-subnav__inner > span { display: none; }
  .rich-subnav a { font-size: 12px; }
  .rich-footer { flex-direction: column; }
  .library-hero { padding-top: 48px; }
  .library-meta { gap: 24px; font-size: 12px; }
  .library-meta strong { font-size: 24px; }
  .library-filters { grid-template-columns: 1fr 1fr; }
  .library-filters > label:first-child { grid-column: 1 / -1; }
  .library-grid { grid-template-columns: 1fr; }
  .library-card__preview img { height: 280px; }
}
@media (max-width: 380px) {
  .rich-header__inner { gap: 12px; }
  .rich-brand img { width: 60px; }
  .rich-header nav { gap: 12px; }
  .rich-header nav a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
