.cw-ai-app-development-matchmaker {
  box-sizing: border-box;
  width: 100%;
  background: #bea9f4;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
}

.cw-ai-app-development-matchmaker__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 40px);
}

.cw-ai-app-development-matchmaker__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-ai-app-development-matchmaker__head-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-ai-app-development-matchmaker__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #4a3c7a;
}

.cw-ai-app-development-matchmaker__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cw-ai-app-development-matchmaker__em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #c8391a;
}

.cw-ai-app-development-matchmaker__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #2e2822;
}

.cw-ai-app-development-matchmaker__panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
  align-items: stretch;
}

.cw-ai-app-development-matchmaker__controls-panel {
  background: #fff;
  border-radius: 26px;
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cw-ai-app-development-matchmaker__use-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-ai-app-development-matchmaker__field-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #6b6158;
}

.cw-ai-app-development-matchmaker__use-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #f3efe7;
}

.cw-ai-app-development-matchmaker__use-tab {
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #141210;
  font: 600 13px 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.cw-ai-app-development-matchmaker__use-tab.is-on {
  background: #141210;
  color: #fff;
}

.cw-ai-app-development-matchmaker__use-tab:focus-visible {
  outline: 2px solid #c8391a;
  outline-offset: 2px;
}

.cw-ai-app-development-matchmaker__sliders {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cw-ai-app-development-matchmaker__slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.cw-ai-app-development-matchmaker__slider-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.cw-ai-app-development-matchmaker__slider-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cw-ai-app-development-matchmaker__slider-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.cw-ai-app-development-matchmaker__slider-hint {
  font-size: 12.5px;
  color: #6b6158;
  line-height: 1.35;
}

.cw-ai-app-development-matchmaker__slider-val {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #c8391a;
  white-space: nowrap;
  flex-shrink: 0;
}

.cw-ai-app-development-matchmaker__slider input[type='range'] {
  width: 100%;
  accent-color: #e0431c;
  cursor: pointer;
}

.cw-ai-app-development-matchmaker__result-panel {
  border-radius: 26px;
  background: #141210;
  color: #eae7e1;
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.cw-ai-app-development-matchmaker__top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-ai-app-development-matchmaker__top.is-updating {
  animation: cw-ai-app-development-matchmaker-fade 0.45s ease-out both;
}

.cw-ai-app-development-matchmaker__top-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cw-ai-app-development-matchmaker__result-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(234, 231, 225, 0.5);
}

.cw-ai-app-development-matchmaker__fit-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: #d4f53c;
  color: #141210;
  font: 800 14px 'Inter Tight', 'Inter', system-ui, sans-serif;
}

.cw-ai-app-development-matchmaker__result-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #f3efe7;
}

.cw-ai-app-development-matchmaker__result-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(234, 231, 225, 0.75);
}

.cw-ai-app-development-matchmaker__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.cw-ai-app-development-matchmaker__flow-chip {
  padding: 8px 12px;
  border-radius: 10px;
  background: #1e1b18;
  color: #f3efe7;
  font: 500 12px 'JetBrains Mono', ui-monospace, monospace;
}

.cw-ai-app-development-matchmaker__flow-arrow {
  color: rgba(234, 231, 225, 0.4);
  font: 500 12px 'JetBrains Mono', ui-monospace, monospace;
}

.cw-ai-app-development-matchmaker__why {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-ai-app-development-matchmaker__why-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14.5px;
  color: #eae7e1;
  line-height: 1.45;
}

.cw-ai-app-development-matchmaker__why-row span:first-child {
  color: #d4f53c;
  flex-shrink: 0;
}

.cw-ai-app-development-matchmaker__rank-block {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(234, 231, 225, 0.08);
}

.cw-ai-app-development-matchmaker__rank {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-ai-app-development-matchmaker__rank-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cw-ai-app-development-matchmaker__rank-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.cw-ai-app-development-matchmaker__rank-pct {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.cw-ai-app-development-matchmaker__rank-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(234, 231, 225, 0.08);
  overflow: hidden;
}

.cw-ai-app-development-matchmaker__rank-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.3, 0.7, 0.2, 1);
}

@keyframes cw-ai-app-development-matchmaker-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .cw-ai-app-development-matchmaker__use-tabs {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .cw-ai-app-development-matchmaker__use-tab {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cw-ai-app-development-matchmaker__top.is-updating,
  .cw-ai-app-development-matchmaker__rank-fill {
    animation: none;
    transition: none;
  }
}
