/* About Us — 08 Try it (squad builder) */

@keyframes cw-about-try-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-about-try-it {
  background: #cfc4f6;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-about-try-it__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cw-about-try-it__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: end;
}

.cw-about-try-it__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.cw-about-try-it__title {
  margin: 12px 0 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-about-try-it__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #e0431c;
}

.cw-about-try-it__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
}

.cw-about-try-it__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 18px;
}

.cw-about-try-it__picker {
  background: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cw-about-try-it__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cw-about-try-it__field-label {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.cw-about-try-it__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-about-try-it__pill {
  border: 1px solid #141210;
  background: transparent;
  color: #141210;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-about-try-it__pill.is-active {
  background: #141210;
  color: #f3efe7;
}

.cw-about-try-it__pill.is-addon-on {
  background: #d4f53c;
  color: #141210;
}

.cw-about-try-it__pill:focus-visible {
  outline: 2px solid #e0431c;
  outline-offset: 2px;
}

.cw-about-try-it__result {
  background: #141210;
  color: #f3efe7;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cw-about-try-it__result-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.cw-about-try-it__result-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.cw-about-try-it__result-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: #d4f53c;
}

.cw-about-try-it__squad {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}

.cw-about-try-it__member {
  border: 1px solid rgba(243, 239, 231, 0.14);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: cw-about-try-in 0.35s ease both;
}

.cw-about-try-it__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cw-about-try-avatar-bg, #d4f53c);
  color: #141210;
  display: grid;
  place-items: center;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 900;
  font-size: 13px;
}

.cw-about-try-it__member-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.cw-about-try-it__stack-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cw-about-try-it__stack-label {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(243, 239, 231, 0.55);
}

.cw-about-try-it__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-about-try-it__stack-tag {
  border: 1px solid rgba(243, 239, 231, 0.2);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12.5px;
}

.cw-about-try-it__disclaimer {
  margin: 0;
  font-size: 13px;
  color: rgba(243, 239, 231, 0.55);
  line-height: 1.5;
}

.cw-about-try-it__cta {
  align-self: flex-start;
  background: #d4f53c;
  color: #141210;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.cw-about-try-it__cta:hover {
  background: #fff;
  color: #141210;
}

.cw-about-try-it__cta:focus-visible {
  outline: 2px solid #d4f53c;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .cw-about-try-it__member {
    animation: none;
  }
}
