/* Industries index — 03 Needs matcher */

.cw-industries-index-needs {
  background: #141210;
  color: #f3efe7;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 40px);
  font-family: 'Inter', system-ui, sans-serif;
  box-sizing: border-box;
  width: 100%;
}

.cw-industries-index-needs__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.cw-industries-index-needs__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #ff7a50;
}

.cw-industries-index-needs__title {
  margin: 12px 0 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.cw-industries-index-needs__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #d4f53c;
}

.cw-industries-index-needs__lead {
  margin: 16px 0 0;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(243, 239, 231, 0.72);
}

.cw-industries-index-needs__panel {
  background: #1e1b18;
  border-radius: 26px;
  padding: clamp(18px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cw-industries-index-needs__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-industries-index-needs__chip {
  border: 1px solid rgba(243, 239, 231, 0.2);
  background: transparent;
  color: #f3efe7;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cw-industries-index-needs__chip.is-on {
  border-color: #d4f53c;
  background: #d4f53c;
  color: #141210;
}

.cw-industries-index-needs__chip:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 2px;
}

.cw-industries-index-needs__chip-mark {
  margin-right: 2px;
}

.cw-industries-index-needs__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 6px;
}

.cw-industries-index-needs__link {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 9px 10px;
  background: transparent;
  color: #6b645a;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.cw-industries-index-needs__link.is-lit {
  color: #f3efe7;
}

.cw-industries-index-needs__link.is-match {
  background: #2a2622;
}

.cw-industries-index-needs__link:hover,
.cw-industries-index-needs__link:focus-visible {
  color: #141210;
  background: #d4f53c;
  outline: none;
}

.cw-industries-index-needs__link-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #3a3530;
  transition: background 0.3s;
}

.cw-industries-index-needs__link.is-lit .cw-industries-index-needs__link-dot {
  background: var(--cw-industries-index-needs-dot, #d4f53c);
}

.cw-industries-index-needs__link-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-industries-index-needs__link-score {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  opacity: 0.7;
  flex: none;
}

.cw-industries-index-needs__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-industries-index-needs__note {
  margin: 0;
  font-size: 13px;
  color: #cfc9be;
}

.cw-industries-index-needs__cta {
  background: #d4f53c;
  color: #141210;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.cw-industries-index-needs__cta:hover,
.cw-industries-index-needs__cta:focus-visible {
  background: #fff;
  color: #141210;
  outline: none;
}
