.cw-ai-app-development-why {
  box-sizing: border-box;
  width: 100%;
  background: #bea9f4;
  color: #141210;
}

.cw-ai-app-development-why__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cw-ai-app-development-why__nav-col {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

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

.cw-ai-app-development-why__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-why__em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #c8391a;
}

.cw-ai-app-development-why__strap {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
}

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

.cw-ai-app-development-why__nav-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid rgba(20, 18, 16, 0.14);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: 600 15px 'Inter', system-ui, sans-serif;
  color: rgba(20, 18, 16, 0.55);
  transition: color 0.25s ease;
}

.cw-ai-app-development-why__nav-btn.is-on {
  color: #141210;
}

.cw-ai-app-development-why__nav-no {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.08);
  color: rgba(20, 18, 16, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 12px 'Inter Tight', 'Inter', system-ui, sans-serif;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.cw-ai-app-development-why__nav-btn.is-on .cw-ai-app-development-why__nav-no {
  background: #141210;
  color: #fff;
}

.cw-ai-app-development-why__nav-label {
  line-height: 1.35;
}

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

.cw-ai-app-development-why__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 26px;
  background: #fff;
  color: #141210;
  box-shadow: 0 20px 40px -34px rgba(20, 18, 16, 0.35);
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  transform: scale(0.985);
}

.cw-ai-app-development-why__card.is-on {
  background: #141210;
  color: #f3efe7;
  box-shadow: 0 40px 70px -40px rgba(20, 18, 16, 0.8);
  transform: scale(1);
}

.cw-ai-app-development-why__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.cw-ai-app-development-why__card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cw-ai-app-development-why__card-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-ai-app-development-why__card-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #8a8078;
  flex-shrink: 0;
}

.cw-ai-app-development-why__card.is-on .cw-ai-app-development-why__card-no {
  color: #ff7a50;
}

.cw-ai-app-development-why__card-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cw-ai-app-development-why__card-text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  opacity: 0.85;
}

@media (max-width: 767px) {
  .cw-ai-app-development-why__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 56px 20px;
  }

  .cw-ai-app-development-why__nav-col {
    position: static;
    gap: 20px;
    min-width: 0;
  }

  .cw-ai-app-development-why__title {
    font-size: clamp(34px, 10vw, 42px);
    overflow-wrap: anywhere;
  }

  .cw-ai-app-development-why__strap {
    font-size: 17px;
  }

  .cw-ai-app-development-why__nav-btn {
    min-width: 0;
  }

  .cw-ai-app-development-why__nav-label,
  .cw-ai-app-development-why__card-title,
  .cw-ai-app-development-why__card-text {
    overflow-wrap: anywhere;
  }

  .cw-ai-app-development-why__card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 20px;
    border-radius: 22px;
  }

  .cw-ai-app-development-why__icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .cw-ai-app-development-why__card-text {
    font-size: 15px;
    line-height: 1.55;
  }
}
