.brands-hero { padding: 54px max(40px, calc((100vw - 1240px) / 2)) 38px; background: var(--ink); }
.brands-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.05em; font-weight: 500; }
.brands-hero .hero-lead { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.directory { padding: 0 max(40px, calc((100vw - 1240px) / 2)) 54px; background: var(--ink); }
.directory-head { margin-bottom: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.directory-head p { max-width: 840px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.filters { display: grid; grid-template-columns: minmax(230px, 1.6fr) repeat(2, minmax(145px, .7fr)) auto; gap: 16px; margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; color: #c0c9d5; font-size: 13px; font-weight: 500; }
.field input, .field select { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #506273; border-radius: 3px; background: var(--ink-2); color: var(--white); font-size: 15px; }
.field input:focus, .field select:focus { outline: 2px solid var(--cyan); outline-offset: 2px; }
.reset { align-self: end; min-height: 48px; padding: 0 18px; border: 1px solid #506273; border-radius: 3px; background: var(--panel); color: var(--white); font-weight: 500; cursor: pointer; }
.reset:hover { border-color: var(--cyan); }
.results-bar { display: flex; justify-content: space-between; gap: 16px; margin-block: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.results-bar strong { color: var(--white); }
.results-bar a, .note a { color: var(--electric); text-underline-offset: 4px; }
.table-wrap { border: 1px solid var(--line); background: var(--panel); }
table { width: 100%; border-collapse: collapse; }
thead { background: #102433; }
th, td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; }
thead th { color: #bacbd7; font-size: 12px; font-weight: 500; }
tbody th { color: var(--white); font-size: 16px; font-weight: 500; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.brand-mark { display: none; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 3px; font-size: 12px; font-weight: 500; }
.status-live { background: #103b31; color: #80e0bc; }
.status-beta { background: #3b2b13; color: #ffd17d; }
.status-mixed { background: #292849; color: #b8b5ff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { color: #b9cad5; font-size: 13px; }
.tags span:not(:last-child)::after { content: ','; }
.model-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; border: 0; background: none; color: #75d8e3; font: 500 13px 'DM Sans', system-ui, sans-serif; cursor: pointer; }
.model-toggle::after { content: '+'; font-size: 20px; }
.model-toggle[aria-expanded='true']::after { content: '−'; }
.model-toggle:hover { color: var(--white); }
.model-row > td { padding: 0 20px 20px; background: var(--ink-2); }
.model-panel { padding: 20px 0 0; }
.model-panel p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.model-group + .model-group { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.model-group h4 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--white); font-size: 14px; font-weight: 500; }
.model-list { display: flex; flex-wrap: wrap; gap: 6px; }
.model-list > span { padding: 6px 9px; border: 1px solid #29495b; border-radius: 3px; color: #c0d1db; font-size: 12px; }
.model-source { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; color: #75d8e3; font-size: 13px; text-underline-offset: 4px; }
.empty { padding: 32px 20px; text-align: center; color: var(--muted); }
.empty h3 { margin: 0; color: var(--white); font-size: 22px; font-weight: 500; }
.empty p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; }
.notes { margin-top: 28px; }
.note { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.note h3 { margin: 0; font-size: 15px; line-height: 1.6; font-weight: 500; }
.note p { max-width: 840px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px max(40px, calc((100vw - 1240px) / 2)); background: #0c2639; border-top: 3px solid var(--cyan); }
.cta h2 { margin: 0; font-size: 36px; line-height: 1.2; letter-spacing: -.04em; font-weight: 500; }
.cta p { max-width: 740px; margin: 16px 0 0; color: #bacbd7; font-size: 15px; line-height: 1.7; }
.cta .button { flex: none; }
@media (max-width: 1100px) {
  .brands-hero { padding-inline: 24px; }
  .directory, .cta { padding-inline: 24px; }
  .filters { grid-template-columns: 1.3fr 1fr 1fr; }
  .reset { justify-self: start; }
}
@media (max-width: 850px) {
  .results-bar { flex-direction: column; gap: 4px; }
  .cta { align-items: flex-start; flex-direction: column; gap: 24px; }
  .note { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 720px) {
  .brands-hero { padding: 32px 20px 28px; }
  .brands-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .brands-hero .hero-lead { margin-top: 18px; font-size: 16px; }
  .hero-meta { gap: 8px 20px; margin-top: 20px; }
  .directory { padding: 0 20px 36px; }
  .filters { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .filters .field:first-child { grid-column: 1 / -1; }
  .field input, .field select { font-size: 16px; }
  .reset { min-width: 100px; }
  .table-wrap { border: 0; background: none; }
  thead { display: none; }
  table, tbody, tr, th, td { display: block; width: 100%; }
  .brand-row { padding: 16px 0; border-top: 1px solid var(--line); }
  .brand-row th { margin-bottom: 8px; font-size: 19px; }
  .brand-row th, .brand-row td { padding: 4px 0; border: 0; }
  .brand-row td::before { content: attr(data-label); display: inline-block; min-width: 80px; margin-right: 12px; color: var(--muted); font-size: 12px; }
  .tags { display: inline-flex; }
  .model-row > td { padding: 0 0 20px; border: 0; background: none; }
  .model-panel { padding-top: 8px; }
  .model-group h4 { flex-wrap: wrap; }
  .notes { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
  .cta { padding: 36px 20px; }
  .cta h2 { font-size: 30px; }
  .cta .button { width: 100%; }
}
