.catalog-page .directory-hero h1 { font-size: clamp(38px, 5.4vw, 78px); }
.catalog-page .hero-aside { max-width: 260px; }
.big-count { font-family: 'DM Mono', monospace; font-size: clamp(48px, 6vw, 80px) !important; line-height: 1; color: var(--yellow) !important; letter-spacing: -.05em; margin: 12px 0 4px !important; }
.terms { padding: 56px 0 8px; }
.terms-title { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.05em; margin: 0 0 22px; }
.terms-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.catalog-key { margin: 0; border-left: 4px solid var(--yellow); }
.muted-note { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.catalog { padding-bottom: 72px; }
.brand-index { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 0; }
.brand-index ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-height: 148px; overflow-y: auto; }
.brand-index a { display: inline-flex; gap: 8px; align-items: center; padding: 7px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 13px; font-weight: 600; }
.brand-index a:hover { border-color: var(--navy); background: #e6e9dd; }
.count { font: 10px 'DM Mono', monospace; color: var(--green); }
.brand-block { scroll-margin-top: 170px; padding: 38px 0 12px; border-bottom: 1px solid var(--line); }
.brand-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.brand-head h3 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -.05em; margin: 0; }
.count-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.to-top { margin-left: auto; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.module-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.module-list li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font: 13px/1.4 'DM Mono', monospace; overflow-wrap: anywhere; }
@media (max-width: 850px) { .terms-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) {
  .site-nav { gap: 8px 14px; }
  .brand-index { position: static; }
  .brand-index ul { max-height: 220px; }
  .brand-block { scroll-margin-top: 16px; }
  .module-list { grid-template-columns: 1fr; }
  .to-top { margin-left: 0; width: 100%; }
}
